﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace SpaceInvaders_LeonardoCamelo
{
    public abstract class Scene : DrawableGameComponent //Classe abstrata de cena, deriva de "DrawableGameComponent".
    {
        //Criamos um spritebath.
        public SpriteBatch spriteBatch;
        //Atributo que irá defenir a largura da janela do jogo em 800 pixels.
        public const int WIDTH = 800;
        //Atributo que irá definir a autura da janela do jogo em 600 pixels.
        public const int HEIGHT = 600;
        //Armazena o uso do teclado.
        public KeyboardState keyNow;

        //Metodo construtor.
        public Scene(Game game)
            : base(game)
        {
            spriteBatch = new SpriteBatch(Game.GraphicsDevice);
        }
    }
}
